import request from '@/utils/request'

export function createOrder(courseId) {
  return request({
    url: `/order/tOrder/createOrder/${courseId}`,
    method: 'post'
  })
}

//  获取订单信息
export function getOrderInfo(id) {
  return request({
    url: `/order/tOrder/getOrder/${id}`,
    method: 'post'
  })
}
